

package com.hexinfo.dmpro.sparing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hexinfo.dmpro.sparing.dto.TotalDTO;
import com.hexinfo.dmpro.sparing.model.HotStandbyLogSource;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
 * 热备源级日志分析表
 *
 * @author zax
 * @date 2023-11-18 14:24:10
 */
public interface HotStandbyLogSourceService extends IService<HotStandbyLogSource> {
    public Page queryList(Page page, HotStandbyLogSource hotStandbyLogSource);

    List<HotStandbyLogSource> queryTaskDate(String sourceName,String taskDate);

    IPage getHotStandbyLogSources(Page page, HotStandbyLogSource hotStandbyLogSource);

    TotalDTO getStateAllNum();

    String addHotStandbyLogSource(String source);

    void upLSSyncRange(String logId,String syncRangeStart,String syncRangeEnd,String str);

    void upSyncTableHdfsNumber(String logId,String tableHdfsNumber,String str);

    void upTaskState(String logId,String state);

    void upHotLog(String logId,String str);

    List<HotStandbyLogSource> sourceHotBackupState();

    List<HotStandbyLogSource> sourceHotBackupStateToDay();

    List<HotStandbyLogSource> sourceHotBackupStateTwo();

    HotStandbyLogSource querySourceName(String sourceName);
}
